package com.ruoyi.system.dto;

import org.springframework.mail.SimpleMailMessage;

/**
 * 解决 SimpleMailMessage 对象通过 Json 反序列化错误的问题
 *
 * @author 刘逸晖
 */
public class DeserializableMailMessage extends SimpleMailMessage {

    public void setTo(String[] to) {
        super.setTo(to);
    }

    public void setCc(String[] cc) {
        super.setCc(cc);
    }

    public void setBcc(String[] bcc) {
        super.setBcc(bcc);
    }

}
